#define ONFRONTCONNECTED 0
#define ONFRONTDISCONNECTED 1
#define ONHEARTBEATWARNING 2
#define ONRSPAUTHENTICATE 3
#define ONRSPUSERLOGIN 4
#define ONRSPUSERLOGOUT 5
#define ONRSPORDERINSERT 6
#define ONRSPORDERACTION 7
#define ONRSPEXECORDERINSERT 8
#define ONRSPEXECORDERACTION 9
#define ONRSPFORQUOTEINSERT 10
#define ONRSPQUOTEINSERT 11
#define ONRSPQUOTEACTION 12
#define ONRSPBATCHORDERACTION 13
#define ONRSPOPTIONSELFCLOSEINSERT 14
#define ONRSPOPTIONSELFCLOSEACTION 15
#define ONRSPCOMBACTIONINSERT 16
#define ONRSPQRYORDER 17
#define ONRSPQRYTRADE 18
#define ONRSPQRYINVESTORPOSITION 19
#define ONRSPQRYTRADINGACCOUNT 20
#define ONRSPQRYINVESTOR 21
#define ONRSPQRYTRADINGCODE 22
#define ONRSPQRYINSTRUMENTMARGINRATE 23
#define ONRSPQRYINSTRUMENTCOMMISSIONRATE 24
#define ONRSPQRYEXCHANGE 25
#define ONRSPQRYPRODUCT 26
#define ONRSPQRYINSTRUMENT 27
#define ONRSPQRYCOMBINSTRUMENT 28
#define ONRSPQRYCOMBACTION 29
#define ONRSPQRYINVESTORPOSITIONFORCOMB 30
#define ONRSPQRYDEPTHMARKETDATA 31
#define ONRSPQRYINSTRUMENTSTATUS 32
#define ONRSPQRYINVESTORPOSITIONDETAIL 33
#define ONRSPQRYINVESTORPOSITIONCOMBINEDETAIL 34
#define ONRSPQRYEXCHANGEMARGINRATE 35
#define ONRSPQRYEXCHANGEMARGINRATEADJUST 36
#define ONRSPQRYOPTIONINSTRTRADECOST 37
#define ONRSPQRYOPTIONINSTRCOMMRATE 38
#define ONRSPQRYEXECORDER 39
#define ONRSPQRYFORQUOTE 40
#define ONRSPQRYQUOTE 41
#define ONRSPQRYOPTIONSELFCLOSE 42
#define ONRSPERROR 43
#define ONRTNORDER 44
#define ONRTNTRADE 45
#define ONERRRTNORDERINSERT 46
#define ONERRRTNORDERACTION 47
#define ONRTNINSTRUMENTSTATUS 48
#define ONRTNEXECORDER 49
#define ONERRRTNEXECORDERINSERT 50
#define ONERRRTNEXECORDERACTION 51
#define ONERRRTNFORQUOTEINSERT 52
#define ONRTNQUOTE 53
#define ONERRRTNQUOTEINSERT 54
#define ONERRRTNQUOTEACTION 55
#define ONRTNFORQUOTERSP 56
#define ONERRRTNBATCHORDERACTION 57
#define ONRTNOPTIONSELFCLOSE 58
#define ONERRRTNOPTIONSELFCLOSEINSERT 59
#define ONERRRTNOPTIONSELFCLOSEACTION 60
#define ONRTNCOMBACTION 61
#define ONRSPQRYINSTRUMENTORDERCOMMRATE 62
